<?php

// logout
	$_SESSION = array();
	if (isset($_COOKIE[session_name()])) {
		setcookie(session_name(), '', time()-86400, '/');	
	}
	//ob_end_flush();
	session_destroy();
	header("Location: ./index.php");
	
	?>